package com.apinji.wxpay.service;

import com.apinji.common.domain.wrapper.Reply;
import com.apinji.wxpay.dto.WxPayConsumeDto;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface WxPayPayService {

    /**
     * 微信二维码支付，支付接口
     *
     * @param wxPayConsumeDto
     * @return
     */
    Reply consume(WxPayConsumeDto wxPayConsumeDto, HttpServletResponse response, HttpServletRequest request) throws Exception;



    void backNotify(HttpServletRequest request, HttpServletResponse response) throws Exception;

}
